import { Vec3 } from 'cc';
import { ecsclass, EcsSingleton } from '../../../../../../../../pkg-export/@gamex/cc-ecs';

@ecsclass('InputSingleton')
export class InputSingleton extends EcsSingleton {
    /**
     * 键盘操作时按下了哪些键
     */
    pressKeyMap: Map<Vec3, boolean> = new Map();
    /**
     * 最终玩家行进方向
     */
    toward: Vec3 = new Vec3();
}